package com.mall.db.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author HQJ
 * @since 2021-09-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_notice")
public class Notice extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String title;

    private String content;


    /**
     * 发布时间
     */
    private Date issueTime;

    /**
     * 状态  0:草稿  1：发布   2：过期  3：撤回
     */
    private Integer status;

    private Date validDate;

    /**
     * 创建人id
     */
    private Integer createUser;

    /**
     * 发布者id
     */
    private Integer issueUser;

    /**
     * 接收门户的ids
     */
    private String acceptRole;

    private String fileIds;


}
